__init__()
1724
04-Jul-2018
Prakash nidhi Verma
04-Jul-2018The __init__() Function:
classes and objects in their simplest form are not really useful in real life applications. It's a built-in __init__() function.
Example :
Use the __init__() function to assign values for name and age: